<template>
  <view>
    <web-view :src="url" />
  </view>
</template>

<script setup lang="ts">
import { onLoad, onReady, onUnload } from "@dcloudio/uni-app";
import { ref } from "vue";
const url = ref("");
onLoad((options) => {
  if (options) {
    url.value = options.url || "";
  }
});
</script>

<style></style>
